package com.snmp.smn.beans;

public class Device {
	
	private int deviceId;
	
	private String deviceName;
	
	private String deviceIP;
	
	private int devicePort;
	
	private String deviceType;
	
	private String command;

	public Device(int deviceId, String deviceName, String deviceIP,
			int devicePort, String deviceType, String command) {
		super();
		this.deviceId = deviceId;
		this.deviceName = deviceName;
		this.deviceIP = deviceIP;
		this.devicePort = devicePort;
		this.deviceType = deviceType;
		this.command = command;
	}

	public int getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(int deviceId) {
		this.deviceId = deviceId;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getDeviceIP() {
		return deviceIP;
	}

	public void setDeviceIP(String deviceIP) {
		this.deviceIP = deviceIP;
	}

	public int getDevicePort() {
		return devicePort;
	}

	public void setDevicePort(int devicePort) {
		this.devicePort = devicePort;
	}

	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public String getCommand() {
		return command;
	}

	public void setCommand(String command) {
		this.command = command;
	}
	
	@Override
	public String toString() {
		return "Device Id : " + deviceId + " Device Name : " + deviceName + 
				" IP " + deviceIP + " Port " + devicePort +
				" Device Type : " + deviceType;
	}
}
